package home.service;

import home.model.Msg;
import home.model.PageBean;

import java.util.List;

public interface MsgService {
	public List<Msg> getAllMsg(String type);
	public List<Msg> getAllMsgHome(String type);
	public boolean deleteMsgById(int id);
	public boolean saveMsg(Msg msg);
	public Msg getMsg(int id);
	public boolean addReadnum(int id);
	public PageBean queryForPage(int pageSize,int currentPage, String type, String like);
}
